
//C 控制器 接收用户请求处理相应的业务逻辑

let GoodsController = {};


let moderl = require('../model/model.js')

GoodsController.list = (req,res)=>{
    //操作数据库 调用model
    let users = ('select * from masterpieces1')
    res.render('goods.html',{users})
}

module.exports = GoodsController;